html {
    padding: 0;
    margin: 0;
}
body {
    padding: 0;
    margin: 0;
    font-family: "Bitstream Vera Sans", "Verdana", sans-serif;
    font-size: 0.9em;
    background: #eee;
    width:100%;
    background:#fff;
    min-width:600px;        /* Minimum width of layout - remove line if not required */ /* The min-width property does not work in old versions of Internet Explorer */
    /*background: url('http://localhost:8000/static/bg.png') repeat-x top left white;*/
    border:0;            /* This removes the border around the viewport in old versions of IE */
}
/*******************************************************************************
                       Positioning rules
*******************************************************************************/

#header {
    background: white;
    height: 3.2em;
    clear:both;
    float:left;
    width:100%;
    border-bottom: 3px solid #ffc84f;
}
#main_title {
    position: absolute;
    left: 15px;
    top: 0px;
}
#header #navbar {
    text-align: right;
    float: right;
    padding: 5px;
}



#footer {
    color: #fff;
    background-color: black;
    clear:both;
    float:left;
    width:100%;
    border-top:1px solid #000;
}
#footer p {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.8em;
}

/************* column holy grial **************/
/* column container */
.colmask {
    position:relative;    /* This fixes the IE7 overflow hidden bug */
    clear:both;
    float:left;
    width:100%;            /* width of whole page */
    overflow:hidden;        /* This chops off any overhanging divs */
}
/* common column settings */
.colright,
.colmid,
.colleft {
    float:left;
    width:100%;            /* width of page */
    position:relative;
}
.col1,
.col2,
.col3 {
    float:left;
    position:relative;
    padding:0 0 1em 0;    /* no left and right padding on columns, we just make them narrower instead 
                    only padding top and bottom is included here, make it whatever value you need */
    overflow:hidden;
}
/* 3 Column settings */
.threecol {
    background:#eee;        /* right column background colour */
}
.threecol .colmid {
    right:25%;            /* width of the right column */
    background:#fff;        /* center column background colour */
}
.threecol .colleft {
    right:50%;            /* width of the middle column */
    background:#f4f4f4;    /* left column background colour */
}
.threecol .col1 {
    width:46%;            /* width of center column content (column width minus padding on either side) */
    left:102%;            /* 100% plus left padding of center column */
}
.threecol .col2 {
    width:21%;            /* Width of left column content (column width minus padding on either side) */
    left:31%;            /* width of (right column) plus (center column left and right padding) plus (left column left padding) */
}
.threecol .col3 {
    width:21%;            /* Width of right column content (column width minus padding on either side) */
    left:85%;            /* Please make note of the brackets here:
                    (100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */
}
/* 2 Column (left menu) settings */
.leftmenu {
    background:#fff;        /* right column background colour */
}
.leftmenu .colleft {
    right:75%;            /* right column width */
    background:#f4f4f4;    /* left column background colour */
}
.leftmenu .col1 {
    width:71%;            /* right column content width */
    left:102%;            /* 100% plus left column left padding */
}
.leftmenu .col2 {
    width:21%;            /* left column content width (column width minus left and right padding) */
    left:6%;            /* (right column left and right padding) plus (left column left padding) */
}
/* 2 Column (right menu) settings */
.rightmenu {
    background:#eee;        /* right column background colour */
}
.rightmenu .colleft {
    right:25%;            /* right column width */
    background:#fff;        /* left column background colour */
}
.rightmenu .col1 {
    width:71%;            /* left column content width (left column width minus left and right padding) */
    left:27%;            /* (right column width) plus (left column left padding) */
}
.rightmenu .col2 {
    width:21%;            /* right column content width (right column width minus left and right padding) */
    left:31%;            /* (right column width) plus (left column left and right padding) plus (right column left padding) */
}

/************* /column holy grial **************/

#notification {
    background-color: #ff9;
    border: 1px solid #ccc;
    padding: 8px;
    display: none;
}
#notification_canvas {
    display: inline;
}
a.tag_match {
    font-weight: bold !important;
}
a.dismiss {
    font-size: smaller;
    color: #888;
    text-decoration: none;
}
img {
    border: 0;
}

/*
 *  Notes
 */

.note_title {
    font-size: large;
    font-weight: bold;
}
.note_preview {
    margin-top: 8px;
    margin-left: 8px;
    display: block;
}
.note_date,
.note_subject {
    color: #bbb;
    text-align: right;
    font-size: smaller;
}
.note_date:hover,
.note_subject:hover {
    color: #555;
}
.note_single {
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 7px;
    margin: 6px;
    margin-bottom: 15px;
    border: 1px solid transparent;
}
.note_single:hover {
    border-color: #eee;
}
.note_tasks_list {
    padding-left: 20px !important;
    display: block;
}

/*
 *  End of Notes
 */

/*
 *  Tasks
 */

.task_name a {
    font-weight: bold;
    vertical-align: middle;
}
.task_single {
    vertical-align: middle;
}
.task_name {
    vertical-align: middle;
}
.task_preview, 
.task_preview a {
    font-size: smaller;
    color: #777;
    font-weight: normal;
}
.task_body {
    font-size: large;
    padding-left: 30px;
    padding-right: 100px;
}
.task_date {
    color: #999;
    font-size: x-small;
}
.task_meta {
    text-align: right;
    color: #777;
}
.task_actions .delete {
    color: #ccc;
    font-size: 0.7em;
    text-decoration: none;
    font-weight: normal;
}
.task_actions .delete:hover {
    color: #d88;
}
.task_done {
    text-decoration: line-through;
}
#task_add #id_title {
    width: 350px;
}
#task_add #id_due {
    width: 80px;
}
/*
.task_tags {
    font-size: smaller;
    vertical-align: middle;
    color: #aa7;
}
.task_tags a {
    font-weight: normal;
    vertical-align: middle;
    color: #aa7;
}
*/
/*
 *  End of Tasks
 */

/*
 *  Metapersona
 */

.persona_profile {
    text-align: center; 
    font-size: 0.8em;
    padding-right: 5px;
}
.persona_profile img {
    border: 1px solid black;
    background-color: white;
    padding: 1px;
}
.persona_profile .mp_fullname {
    font-weight: bold;
}
.persona_profile .mp_email {
    color: #999;
}
.persona_profile .tasks:hover {
    border-color: #bbb;
}
.persona_profile .tasks {
    text-align: left;
    padding-left: 7px;
    padding-bottom: 7px;
    background: white; 
    color: black; 
    border: 1px solid #ccc;
    border-bottom: 5px solid #ccc;
}

/*
 *  End of Metapersona
 */

.row_even {
    background-color: #eee;
}
.row_odd {
    background-color: #fff;
}
.editable {
    border: 0px solid black;
    background-color: transparent;
}
#action-area {
    clear: both;
    margin: 0px;
    text-align:right;
    background-color: #dfd;
    padding: 4px;
}

.edit {
    color: #bbb;
    text-decoration: none;
    vertical-align: middle;
    font-size: small;
}
.save-button {
    background-color: blue;
    color: white;
    font-weight: bold;
}
.revert-button {
    background-color: #ddd;
    color: #888;
    border: 0px;
}
.editable-combo {
    display: none;
}
.editable-active {
    background-color: #ffd;
    border: 1px inset #ddd;
    padding: 4px;
    display: inline !important;
}
.editable:hover {
    background-color: #ffd;
}

.persona_login_user, 
.persona_login_passwd {
    padding: 2px;
    padding-left:20px;
    background-repeat: no-repeat;
    background-position: 2px 2px;
    border: 1px solid #ddd;
}
.persona_login_user {
    background-image: url('/static/stock_person.png');
}
.persona_login_passwd {
    background-image: url('/static/stock_keyring.png');
}
.persona_login_user:focus, 
.persona_login_passwd:focus {
    border-color: #777;
}
#footer a {
    color: #ddd;
    border-bottom: 1px dotted #ddd;
    text-decoration: none;
}
#footer a:hover {
    border-bottom-style: solid;
}

/*
 * Personas list 
 */

.persona_list_persona {
    padding: 5px;
    margin: 10px;
    width: 100%;
    border-bottom: 1px solid #ddd;
}
.persona_list_persona td {
    vertical-align: top;
}
.persona_list_avatar {
    text-align: left;
    padding: 5px;
    vertical-align: top;
    font-size: smaller;
}
.persona_list_avatar img {
    border: 1px solid #ccc;
    float: left;
    padding: 1px;
    margin: 4px;
}
.persona_list_tasks {
    padding-left: 5px;
    width: 45%;
}
.persona_list_tasks_list {
    font-size: smaller;
    padding-top: 5px;
    vertical-align: top;
    /* from sidebar's style */
    display: block;
    text-align: left;
    padding-left: 7px;
    padding-bottom: 7px;
    background: white; 
    color: black; 
}
.persona_list_tasks_list:hover {
}
.persona_list_title {
    font-size: large;
    display: block;
    display:none;
    margin-bottom: 8px;
}
.persona_list_notes {
    font-size: smaller;
    border-left: 1px dotted #ddd;
    padding-left: 10px;
    width: 55%;
}
.persona_list_name {
    font-weight: bold;
    font-size: large;
}
.persona_list_email {
    color: #888;
}

/*
 * project
 */

.project_content {
    padding: 20px;
}
.project_content_notes, 
.project_content_personas {
    padding-left: 20px;
    padding-right: 20px;
}
.project_content_personas .persona_profile {
    border: 1px solid white;
    border-bottom: 4px solid white;
    padding: 3px;
}
.project_content_notes {

}
.project_content_personas img {
    height: 90px;
}
